<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学科信息</title>
    <style>
        #container {
            width: 600px;
            margin-left: 20px;
        }
        #container dt {
            font-size: 1.5em;
        }
        #container dd {
            font-size: 1.2em;
        }
        #container a {
            text-decoration: none;
            color: blue;
        }
        .user {
            float: right;
            margin: 10px 10px;
        }
        .user+h1 {
            clear: both;
        }
        #photo {
            border-radius: 32px 32px 32px 32px;
        }
    </style>
</head>
<body>
    {% include 'header.html' %}
    <h1>千锋教育成都校区所有学科</h1>
    <hr>
    <div id="container">
        {% for subject in subjects %}
        <dl>
            <dt>
                <a href="/vote/teachers?sno={{ subject.no }}">
                    {{ subject.name }}
                </a>
            </dt>
            <dd>{{ subject.intro }}</dd>
        </dl>
        {% endfor %}
    </div>
    <a href="/vote/pdf">下载PDF文件</a>&nbsp;&nbsp;
    <a href="/vote/excel">下载Excel文件</a>
</body>
</html>